<?php get_header(); ?>

   

   

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    

				

<?php



$categories = get_the_category();



        $categoryIDS = array();



        foreach ($categories as $category) {



            array_push($categoryIDS, $category->term_id);



        }



        $categoryIDS = implode(",", $categoryIDS);



?>







				<div class="page-template-wrapper">

            	<div class="page-template-content page-content sizefix clearfix">



 

                     	 <style type="text/css">

                     .wzblog-content img{ display:none !important;}

					 .tpblog-content p{width:100%;


							   color: #33cccc;    display: block; height:auto;float:left;}

						 .tpblog-content p a{ text-indent:-9999px; 

 white-space:nowrap; 

							 line-height:0.1; color:#fff;}

					 .tpblog-content img{ display:block !important;}

					 .tpblog-content p img{ display:block !important;}

                     </style>

                     

                         <div class="grid_4 or3of8">

                            <div class="container">		

                            <div class="post type-post status-publish format-standard hentry category-blog blog-post clearfix">

                                <div class="clearfix">	

                                    <div class="blog-text" style="

    display: block;

    float: left;

">	

                                          <div class="title-meta">

                                            <h5 class="datestyle"><?php the_time('Y-n-j'); ?></h5>

                                            <h1><?php the_title(); ?></h1>

                                        </div> 

                                    <style>.blog-entry p{margin-bottom: 16px !important; line-height: 160% !important;}</style>

                                        <div class="blog-entry">

                                            <div class="blog-content wzblog-content">

                                                <p><?php echo get_post_meta($post->ID, 'text',true);?></p>

                                                <p>&nbsp;</p>

                                                

                                        

                                                

                                               <!-- <div class="small-divide3" style="float:left;display:block;">blog-inside  </div>--> <br>

                                                <div class="share-it" style="float:left;display:block;  width: 100%;">

                                                <div class="share-fix">

												 <?php

													$categories = get_the_category();

													$separator = ' ';

													$output = '';

													if($categories){

														foreach($categories as $category) {

															$output .= '<a href="'.get_category_link( $category->term_id ).'" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $category->name ) ) . '">'.$category->cat_name.'</a>'.$separator;

														}

													echo trim($output, $separator);

												 }?>

												</div></div>                     

                                                <br>

                                                

               

                            

                                            </div>

                                          

                                         

                                    </div><!-- blog entry -->

                                    </div><!-- blog text -->

                                    

                                    

                                    <!-- where blog meta was.. -->

                                </div><!-- blog inside -->

                            </div><!-- blog post -->

                            </div>

                            </div>

                         <div class="newthirds" style="margin: 20px 0 20px 0px;">

                        	<div class="mobile-pad tpblog-content"><?php the_content(""); ?></div>

                         </div>





     <br clear="all">

<div class="btm-right">  <a href="#" class="scrollup">返回顶部</a></div>





<div class="j_fy">



<?php



				$next_post = get_next_post($categoryIDS);



				if (!empty( $next_post )): ?>



<a href="<?php echo get_permalink( $next_post->ID ); ?>" >上一个&nbsp;Prve</a>



<script language="javascript">



psUtl.bindKey(['LEFT'], function () { location = '<?php echo get_permalink( $next_post->ID ); ?>'; })</script>



<?php endif; ?>







<a href="<?php echo esc_url( home_url( '/' ) ); ?>新闻"  class="post_nav03">全部新闻&nbsp;News</a>



<?php



				$prev_post = get_previous_post($categoryIDS);



				if (!empty( $prev_post )): ?>



<a href="<?php echo get_permalink( $prev_post->ID ); ?>" class="page_next ">下一个&nbsp;Next</a>



<script language="javascript">

psUtl.bindKey(['RIGHT'], function () { location = '<?php echo get_permalink( $prev_post->ID ); ?>'; })</script>

<?php endif; ?>





</div>



           







                   

                		

                   



                </div>

            </div>

			

        

            

            

      <?php endwhile; else: ?><?php endif; ?>



<?php get_footer(); ?>